package com.zhia.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhia.demo.entity.UserLikeEntity;

import java.util.List;

/**
 * @author DONG
 * @create 2023/11/5 13:11
 */
public interface UserLikeService extends IService<UserLikeEntity> {
    boolean getUserIsLikeReview(Integer userId, String reviewId);

    void addLike(String reviewId, Integer userId);

    void cancelLike(String reviewId, Integer userId);
}
